﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.InventoryDomain
{
   public class InventoryVoucher
    {
        #region Properties
        public Guid ID { get; set; }
        public string Title { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public Guid InventoryTransactionID { get; set; }
        public int InventoryVoucherTypeID { get; set; }
        #endregion

        #region NavigationalProperties
        [ForeignKey("InventoryTransactionID")]
        public virtual InventoryTransaction Transaction { get; set; }
        [ForeignKey("InventoryVoucherTypeID")] 
        public virtual InventoryVoucherType VoucherType { get; set; }
        public virtual ICollection<Batch> Batches { get; set; }
        #endregion


    }
}
